<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> 
<%@ Assembly Name="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"%> 
<%@ Assembly Name="EAT.ExternalCollaboration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0d1f4e6fe605dcca" %>
<%@ Page Language="C#" Inherits="EAT.ExternalCollaboration.ProfilePage" MasterPageFile="~/_layouts/application.master"%> 
<%@ Import Namespace = "EAT.ExternalCollaboration" %>
<%@ Import Namespace = "Microsoft.SharePoint" %>
<%@ Import Namespace = "System.DirectoryServices" %>
<%@ Import Namespace = "System.Net.Mail" %>
<%@ Import Namespace = "System" %>
<%@ Import Namespace = "System.Web" %>
<%@ Import Namespace = "System.Web.Security" %>
<%@ Import Namespace = "System.Security.Principal" %>
<%@ Import Namespace = "System.Runtime.InteropServices" %>
<%@ Register Tagprefix = "SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register TagPrefix = "wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx"%>
<%@ Register TagPrefix = "wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx"%>
<%@ Register TagPrefix = "wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx"%>
<%@ Register Tagprefix = "wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>


<asp:content ID="Content1" contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
</asp:content>
<asp:Content ID="Content2" contentplaceholderid="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="<%$Resources:ExternalCollaboration,profilePageTitle%>" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:content ID="Content3" contentplaceholderid="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="<%$Resources:ExternalCollaboration,profilePageTitleInTitleArea%>" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
	<SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" text="<%$Resources:ExternalCollaboration,profilePageDescription%>" EncodeMethod='HtmlEncode'/>
	
</asp:Content>


<asp:Content ID="Content5" runat="server"
             contentplaceholderid="PlaceHolderMain" >
<TABLE border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet">

	<wssuc:InputFormSection Title="<%$Resources:ExternalCollaboration,profileIDFormSectionTitle%>"
		Description=""
		runat="server">
		<Template_Description>
			<SharePoint:EncodedLiteral ID="EncodedLiteral4" runat="server" 
			text="<%$Resources:ExternalCollaboration,profileIDFormSectionDescription%>"
			EncodeMethod='HtmlEncode'/>
		
			<br>
			<br>
		</Template_Description>
		<Template_InputFormControls>
			<wssuc:InputFormControl runat="server">
				<Template_Control>
				    <asp:label id="lblAccountName" runat="server"/><br />
				    <table class="ms-authoringcontrols">
					<tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profileFirstNameLabel%>" /></td><td><asp:textbox AllowEmpty=false id="tbFirstName" runat="server"/></td></tr>
					<tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profileLastNameLabel%>" /></td><td><asp:textbox AllowEmpty=false id="tbLastName" runat="server"/></td></tr>
					<tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profileCompanyLabel%>" /></td><td><asp:textbox AllowEmpty=false id="tbCompanyName" runat="server"/></td></tr>
					<tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profilePhoneLabel%>" /></td><td><asp:textbox AllowEmpty=false id="tbTelephoneNumber" runat="server"/></td></tr>
					</table>
				</Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
	</wssuc:InputFormSection>
	
	<wssuc:InputFormSection
		Title="<%$Resources:ExternalCollaboration,profilePasswordFormSectionTitle%>"
		Description="<%$Resources:ExternalCollaboration,profilePasswordFormSectionDescription%>"
		runat="server">
		<Template_InputFormControls>
			<wssuc:InputFormControl runat="server">
				<Template_Control>
				    <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:ExternalCollaboration,CurrentPassword%>" />
					<asp:textbox AllowEmpty=false TextMode="Password" id="tbPassword" runat="server"/><br />
					<br /><br />
					<table class="ms-authoringcontrols" border="0" cellpadding="0" cellspacing="0" width="100%">
						<wssawc:InputFormCheckBox runat="server"
							Id="cbChangePassword"
							LabelText="<%$Resources:ExternalCollaboration,profileChangePasswordCheckboxLabel%>"
							>
							<table class="ms-authoringcontrols">
					        <tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profileNewPasswordLabel%>" /></td><td><asp:textbox AllowEmpty=false TextMode="Password" id="tbNewPassword" runat="server"/></td></tr>
					        <tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profileConfirmPasswordLabel%>" /></td><td><asp:textbox AllowEmpty=false TextMode="Password" id="tbConfirmPassword" runat="server"/></td></tr>
					        </table>
						</wssawc:InputFormCheckBox>
						<wssawc:InputFormCheckBox runat="server"
							Id="cbChangeQA"
							LabelText="<%$Resources:ExternalCollaboration,profileChangeQACheckboxLabel%>"
							>
							<table class="ms-authoringcontrols"
					        <tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profileQuestionLabel%>" /></td><td><asp:textbox AllowEmpty=false id="tbQuestion" runat="server"/></td></tr>
					        <tr><td><asp:literal runat="server" Text="<%$Resources:ExternalCollaboration,profileAnswerLabel%>" /></td><td><asp:textbox AllowEmpty=false id="tbAnswer" runat="server"/></td></tr>
					        </table>
						</wssawc:InputFormCheckBox>
					</table>

		            <Template_InputFormControls>
			            <wssuc:InputFormControl
			                runat="server">
				            <Template_Control>
            		            <asp:Button  id="btnUpdate" runat="server" Text="<%$Resources:ExternalCollaboration,profileUpdateButtonText%>" Width="150" 
					               CausesValidation="false" OnClick="btnUpdate_Click" Enabled="true"/>
			      	            <br />
			      	            <asp:label id="lblDebug" runat="server" Text="" Font-Bold="true"></asp:label>
				            </Template_Control>
			            </wssuc:InputFormControl>
		            </Template_InputFormControls>

				</Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
	</wssuc:InputFormSection>
	</TABLE>    

</asp:Content>
